The phrase "first thing" means something that is done or taken care of as soon as possible, before anything else. It refers to the most important task or priority that should be completed immediately after waking up in the morning or starting a new project.